<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib uri="http://java.fckeditor.net" prefix="FCK"%>  
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<!--框架必需start-->
	<script type="text/javascript" src="<%=basePath%>libs/js/jquery.js"></script>
	<script type="text/javascript" src="<%=basePath%>libs/js/framework.js"></script>
	<link href="<%=basePath%>libs/css/import_basic.css" rel="stylesheet" type="text/css"/>
	<link rel="stylesheet" type="text/css" id="skin" prePath="<%=basePath%>"/>
	<link rel="stylesheet" type="text/css" id="customSkin"/>
	<!-- 表单验证start -->
	<script src="<%=basePath%>libs/js/form/validationRule.js" type="text/javascript"></script>
	<script src="<%=basePath%>libs/js/form/validation.js" type="text/javascript"></script>
	<!-- 表单验证end -->
	<!--框架必需end-->
	<script language="javascript" type="text/javascript" src="<%=basePath%>js/formsub.js"></script>
	<!-- 上传文件列表start -->
	<script type="text/javascript" src="<%=basePath%>js/form/upload/fileUpload.js"></script>
	<!-- 上传文件列表end -->
</head>
<body>
<div class="box1" panelWidth="780">
	<form id="form1" action="Personalinfo_add.action" method="post" target="frmright"  enctype="multipart/form-data">
		<fieldset> 
			<legend>分公司人员信息</legend> 
			<table class="tableStyle" transMode="true" footer="normal">
				<tr>
					<td width="10%">姓名：</td>
					<td width="40%"><input id="name" type="text" name="perinfo.name" class="validate[required]"/><font color="red">*</font></td>
					<td width="10%">所属分公司：</td>
					<td width="40%">
					<select name="perinfo.company.id">
						<s:iterator value="companyList" status="sta">
							<option value="<s:property value="id"/>"><s:property value="name"/></option>
						</s:iterator>
					</select>
					</td>
				</tr>
				<tr>
					<td width="10%">电话：</td>
					<td width="40%"><input type="text" checkStrength="true" name="perinfo.telphone" /></td>
					<td width="10%">QQ：</td>
					<td width="40%"><input type="text" checkStrength="true" name="perinfo.qq" /></td>
				</tr>
				<tr>
					<td width="10%">照片：</td>
					<td colspan="3">
						<input style="width: 64%" type="file" id="upload" size="85" name="upload"/>
		                <span style="color: red;font-size: 12px;">建议上传图片大小为1347x375cm，请选择jpg或png或gif格式的图片</span>
		            </td>
				</tr>
				<tr>
					<td width="10%">服务理念：</td>
					<td colspan="3">
						<textarea style="width:99%" name="perinfo.fwln"></textarea>
					</td>
				</tr>
				<tr>
					<td width="10%">客户寄语：</td>
					<td colspan="3">
						<textarea style="width:99%" name="perinfo.khjy"></textarea>
					</td>
				</tr>
				<tr>
					<td width="10%">自我介绍：</td>
					<td colspan="3">
						<textarea style="width:99%" name="perinfo.zwjs"></textarea>
					</td>
				</tr>
			</table>
		</fieldset>		
		<div class="padding_top10">
			<table class="tableStyle" transMode="true">
				<tr>
					<td colspan="4" align="center">
						<input type="button" value="提 交 " onclick="submitform()"/>
						<input type="reset" value="取消" onclick="closeWin()"/>
					</td>
				</tr>
			</table>
		</div> 
	</form>	
	<script>
	function closeWin(){
		top.Dialog.close();
	}
	</script>
</div>				
</body>

</html>